projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
016a656
)
Transform the 'menu' detail string to the 'popup' class
author
Matthias Clasen
<mclasen@redhat.com>
Wed, 17 Nov 2010 06:38:40 +0000
(
01:38
-0500)
committer
Carlos Garnacho
<carlosg@gnome.org>
Sat, 4 Dec 2010 14:39:15 +0000
(15:39 +0100)
gtk/gtkstyle.c
patch
|
blob
|
history
diff --git
a/gtk/gtkstyle.c
b/gtk/gtkstyle.c
index 8981613a67169b5a7179c9b4c0d4e34861ed778c..4acab1b4e39aba2bfa040f37e4df0f3d4a498b11 100644
(file)
--- a/
gtk/gtkstyle.c
+++ b/
gtk/gtkstyle.c
@@
-1793,6
+1793,11
@@
transform_detail_string (const gchar *detail,
gtk_style_context_add_class (context, "menuitem");
gtk_style_context_add_class (context, "menu");
}
+ else if (strcmp (detail, "menu") == 0)
+ {
+ gtk_style_context_add_class (context, "popup");
+ gtk_style_context_add_class (context, "menu");
+ }
else if (strcmp (detail, "accellabel") == 0)
gtk_style_context_add_class (context, "accelerator");
else if (strcmp (detail, "menubar") == 0)